<?php if (!defined("MAIN_DIR")) { header("Location: /"); die;}

define("APP_STATUS","debug");

switch (APP_STATUS)
{
	case "release":
		define("DOMAIN","gdolg.ru");
		define("DB_HOST","localhost");
		define("DB_USER","gobankiru_rebuka");
		define("DB_PASSWORD","oloR23_");
		define("DB_NAME","gobankiru_rebuka");
		ini_set("display_errors",0);
		error_reporting(0);
		break;
	case "debug":
		define("DOMAIN","igdolg.ru");
		define("DB_HOST","localhost");
		define("DB_USER","root");
		define("DB_PASSWORD","1");
		define("DB_NAME","gdolg");
		ini_set("display_errors",1);
		error_reporting(E_ALL | E_NOTICE | E_STRICT);
		date_default_timezone_set('Asia/Yekaterinburg');
		break;
}

// LOCALE SETTINGS
setlocale(LC_ALL,"ru_RU.UTF-8");

?>